package springbook.learningtest.jdk;

import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;

import org.junit.Test;

public class HelloUppercase implements Hello {
	
	Hello hello;

	public HelloUppercase(Hello hello) {
		this.hello = hello;
	}

	@Override
	public String SayHello(String name) {
		return hello.SayHello(name).toUpperCase();
	}

	@Override
	public String SayHi(String name) {
		return hello.SayHi(name).toUpperCase();
	}

	@Override
	public String SayThankYou(String name) {
		return hello.SayThankYou(name).toUpperCase();
	}	
}
